package com.demo2do.jit.injection.component;

import com.demo2do.jit.GasActivity;
import com.demo2do.jit.LoginActivity;
import com.demo2do.jit.injection.module.ActivityModule;
import com.demo2do.jit.injection.scope.PerActivity;

import dagger.Subcomponent;

/**
 * This component inject dependencies to all Activities across the application
 */
@PerActivity
@Subcomponent(modules = ActivityModule.class)
public interface ActivityComponent {

    public void inject(LoginActivity activity);

    public void inject(GasActivity activity);

}
